﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bmz.Laboratory.Workflow.Entity;

namespace Bmz.Laboratory.Workflow.Context
{
    public class FlowDbContext:DbContext
    {
        public FlowDbContext()
            : base("FlowDbContextConnectionstring")
        {
            
        }
        public DbSet<TemplateFlow> TemplateFlowes { get; set; }
        public DbSet<TemplateNode> TemplateNodes { get; set; }
        public DbSet<TemplateNodeAccessPermission> TemplateNodeAccessPermissiones { get; set; }
        public DbSet<TemplateAccess> TemplateAccesses { get; set; }
        public DbSet<TemplatePermission> TemplatePermissiones { get; set; }
        public DbSet<InstanceFlow> InstanceFlowes { get; set; }
        public DbSet<InstanceNode> InstanceNodes { get; set; }
        public DbSet<InstanceAccess> InstanceAccesses { get; set; }
    }
}
